CPP=cl.exe
CPP_PROJ=/nologo /W3 /Gm /O1 /D "WIN32" /D "_WINDOWS" /D "_MBCS" /c 

LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /incremental:yes /machine:I386 /out:".\bin\geterr.exe"  
LINK32_OBJS= \
	.\bin\geterr.obj 


ALL : .\bin\geterr.exe

.\bin\geterr.exe : $(LINK32_OBJS)
	$(LINK32) \
	$(LINK32_FLAGS) $(LINK32_OBJS)

.\bin\geterr.obj : .\src\geterr.c
	$(CPP) /Fo$@\
	$(CPP_PROJ) $?

clean : 
	@rm -f .\bin\geterr.obj
	@rm -f .\bin\geterr.exe
